import Mock from 'mockjs';

const banner = {
    id:Mock.Random.guid(),
    bannerName:'test',
    bannerType:1,
    url:'./1.png',
    addDate:Number(Mock.Random.datetime('T')),
    bannerOrder:1,
    status:1
}

const bannerList = []
const bannerCount = 200;

for(let i= 0;i<bannerCount;i++){
    bannerList.push(Mock.mock({
        id:Mock.Random.guid(),
        bannerName:Mock.Random.cname(),
        bannerType:Mock.Random.integer(1,3),
        bannerTypeName:Mock.Random.cname(),
        url:'./1.png',
        addDate:Number(Mock.Random.datetime('T')),
        bannerOrder:Mock.Random.integer(1),
        status:1
    }));
}

export {banner,bannerList};